package com.woniuxy.controller;

import com.woniuxy.pojo.MyDataSourcePojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {
    @Autowired
    MyDataSourcePojo myDataSourcePojo;
    @RequestMapping("/hello")
    public String test() {
        System.out.println(myDataSourcePojo.toString());
        return "你好啊";
    }
}
